package com.definity.toolkit.web.taglib;

import javax.servlet.jsp.JspException;

public class WebcamTag extends BaseTag {

	private static final long serialVersionUID = -2302705160588523971L;

	public WebcamTag() {

	}
	
	@Override
	public int doEndTag() throws JspException {
		StringBuilder html = new StringBuilder();
		
		html.append("<div class=\"webcam\">");
		html.append("<div class=\"camera\"></div>");
		html.append("<div class=\"buttonBox\">");
		html.append("<a class=\"takepicture\"></a>");
		html.append("<a class=\"undopicture\"></a>");
		html.append("</div>");
		html.append("</div>");
		
		write(html);
		
		return EVAL_PAGE;
	}
	
}
